package cn.zwx.admin.web;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author zhangwenxue
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true,proxyTargetClass = true)
@MapperScan(basePackages = {"cn.zwx.admin.web.workflow.mapper","cn.zwx.admin.web.system.mapper"})
public class AdminWebLayerApplication {

	public static final Logger logger = LoggerFactory.getLogger(AdminWebLayerApplication.class);
	public static void main(String[] args) {
		SpringApplication.run(AdminWebLayerApplication.class, args);
		logger.info("AdminWebLayerApplication init success");
	}

}
